<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!--
入库页面
//-->
 


<h2 class="contentTitle"></h2>
<form action="inventory/putin.do" method="post" 
  class="pageForm required-validate" 
  onsubmit="return validateCallback(this,navTabAjaxDone)">
<div class="pageFormContent" layoutH="60">
	<fieldset>
		 <input type="hidden" name="operator" value="${requestScope.ass.operator}" />
		     <p>
				<label>入库时间：</label> <input type="text" name="storage_time"  class="date" readonly="true" /> 
			
			</p>
			<p>
				<label>入库方式：</label>
				<select name="Storage_type">
				<option value="0">自行入库</option>
				<option value="1">市公司集采配送</option>
				</select>
			</p>
	</fieldset>

	<div class="panel" defH="150">
		<h1>入库明细</h1>
		<div>
			<table class="list" width="98%">
				<thead>
					<tr>
						<th>商品</th>
						<th></th>
						<th>部门</th>
						<th></th>
						<th>数量</th>
						<th>目标市场</th>
						<th>营销活动类型</th>
						<th>生产日期</th>
						<th>有效日期</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td >
						<input width="95%" class="required" bringbackname="district.goodsname" type="text" name="name" readonly/>
				         </td>
				         <td>
				           <a type="position:absolute;left" class="btnLook" href="inventory/goodsname.do" lookupGroup="district">请选择商品名字</a>
				        </td>
				        
				        
						<td>
					    
					     <c:if test="${requestScope.ass.operator eq 'admin'}">
					    <input class="required" bringbackname="district.deptname"  type="text" name="current_name"  readonly/>
					    </c:if>
					
					   <c:if test="${requestScope.ass.operator != 'admin'}">
					    <input class="required" value="${requestScope.ass.current_name}"  type="text" name="current_name"  readonly/>
					  </c:if>
				   </td>
				   <td>
				    <a type="position:absolute;left" class="btnLook" href="dept/showtree.do" lookupGroup="district">查找带回</a>
				   </td> 
				   
				   
				   
						<td style="width:30px"><input style="width:30px" class="required" type="text"  min="1"  name="sum"/></td>
						<td><input style="width:100%" type="text"  name="targetmarket"/></td>
						<td><input style="width:100%" type="text"  name="grant_type"/></td>
						<td><input type="text" name="product_time" class="date" readonly="true"   /></td>
						<td><input type="text" name="effective_time" class="date" readonly="true"  /></td>
					</tr>
				
					
				</tbody>
			</table>
		</div>
	</div>

	<div class="formBar">
		<ul>
			<li><div class="buttonActive">
					<div class="buttonContent">
						<button type="submit">保存</button>
					</div>
				</div></li>
			<li>
				<div class="button">
					<div class="buttonContent">
						<button type="reset" >清空</button>
					</div>
				</div>
			</li>
		</ul>
	</div>
</div>
</form>


